package com.yijiue.ace.service;

import org.springframework.cloud.gateway.route.RouteDefinition;
import reactor.core.publisher.Flux;

/**
 * @author YIJIUE
 */
public interface DynamicRouteService {

    void addRoute(RouteDefinition routeDefinition);

    void updateRoute(RouteDefinition routeDefinition);

    void deleteRoute(RouteDefinition routeDefinition);

    Flux<RouteDefinition> selectRoute();
}
